jQuery.noConflict();
jQuery(function($) {
	let flag01 = true;
	let oneLiHeight = $(".header-ul").find(".header-li").get(0).offsetHeight;
	let verticalOffset = 0;
	//adjustVerticalOffset();
	$(".show-or-hide-div").click(function() {
		//oneLiHeight = $(".header-ul").find(".header-li").get(0).offsetHeight;
		//adjustVerticalOffset();
		flag01 = !flag01;
		/*if(document.documentElement.clientWidth > 749) {
			flag01 = false;
		}*/
		if(flag01) {
			$(this).parent().css({
				"transform": "translateY(-100%)"
			}).end().css({
				"transform": "rotate(180deg)"
			});
			return;
		}
		$(this).parent().css({
			"transform": ""
		}).end().css({
			"transform": ""
		});
	});
	$(".show-or-hide-div").click();
	/*$(window).resize(function() {
		$(".show-or-hide-div").click();
		
	});*/
	/*$(window).scroll(function() {
		let sc = $(this).scrollTop();
		if(sc < $("#section-area").offset().top) {
			$("#header-area").css({
				"position": ""
			});
			return;
		}
		//滚动窗口时，header区域的 position定位为固定定位fixed
		$("#header-area").css({
			"position": "fixed"
		});
		
	});*/
	/*function adjustVerticalOffset() {
		if(document.documentElement.clientWidth < 750 && document.documentElement.clientWidth > 449) {
			verticalOffset = oneLiHeight * 2;
		}
		else if(document.documentElement.clientWidth < 450) {
			verticalOffset = oneLiHeight * 5;
		}
	}*/
});